package com.module.wx.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 zzd_user_addr
 * 
 * @author hezhengxian
 * @date 2023-01-31
 */
public class ZzdUserAddr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String userName;

    /** 性别 */
    @Excel(name = "性别")
    private String userSex;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String userTel;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String userAddr;

    /** 联系地址门牌号 */
    @Excel(name = "联系地址门牌号")
    private String userAddrNo;

    /** 地址类别 */
    @Excel(name = "地址类别")
    private String userAddrType;

    /** 是否默认地址 */
    @Excel(name = "是否默认地址")
    private String isDefault;

    /** 备注 */
    @Excel(name = "备注")
    private String remaks;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date crteTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserSex(String userSex) 
    {
        this.userSex = userSex;
    }

    public String getUserSex() 
    {
        return userSex;
    }
    public void setUserTel(String userTel) 
    {
        this.userTel = userTel;
    }

    public String getUserTel() 
    {
        return userTel;
    }
    public void setUserAddr(String userAddr) 
    {
        this.userAddr = userAddr;
    }

    public String getUserAddr() 
    {
        return userAddr;
    }
    public void setUserAddrNo(String userAddrNo) 
    {
        this.userAddrNo = userAddrNo;
    }

    public String getUserAddrNo() 
    {
        return userAddrNo;
    }
    public void setUserAddrType(String userAddrType) 
    {
        this.userAddrType = userAddrType;
    }

    public String getUserAddrType() 
    {
        return userAddrType;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }
    public void setRemaks(String remaks) 
    {
        this.remaks = remaks;
    }

    public String getRemaks() 
    {
        return remaks;
    }
    public void setCrteTime(Date crteTime) {this.crteTime = crteTime;}

    public Date getCrteTime() {return crteTime;}


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userSex", getUserSex())
            .append("userTel", getUserTel())
            .append("userAddr", getUserAddr())
            .append("userAddrNo", getUserAddrNo())
            .append("userAddrType", getUserAddrType())
            .append("isDefault", getIsDefault())
            .append("remaks", getRemaks())
            .append("crteTime", getCrteTime())
            .toString();
    }
}
